package com.han.gift.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

/**
 * 岗位信息表(Post)表实体类
 *
 * @author makejava
 * @since 2023-02-25 00:33:58
 */
@SuppressWarnings("serial")
@TableName("t_post")
public class Post extends Model<Post> {

    //岗位ID
    @TableField("id")
    private Long id;

    //岗位编码
    @TableField("sn")
    private String sn;

    //岗位名称
    @TableField("name")
    private String name;

    //显示顺序
    @TableField("sort")
    private Integer sort;

    //状态（0正常 1停用）
    @TableField("status")
    private String status;

    //创建者
    @TableField("create_by")
    private String createBy;

    //创建时间
    @TableField("create_time")
    private Date createTime;

    //更新者
    @TableField("update_by")
    private String updateBy;

    //更新时间
    @TableField("update_time")
    private Date updateTime;

    //备注
    @TableField("remark")
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSn() {
        return sn;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */

    }

